package com.mls.education.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mls.common.annotation.Excel;
import com.mls.common.core.domain.BaseEntity;

/**
 * 课程类型对象 edu_course_type
 * 
 * @author 管理员
 * @date 2022-02-19
 */
public class EduCourseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程类型ID */
    private Integer id;

    /** 课程类型名称 */
    @Excel(name = "课程类型名称")
    private String name;

    /** 课程类型代码 */
    @Excel(name = "课程类型代码")
    private Integer code;

    /** 课程显示logo */
    @Excel(name = "课程显示logo")
    private String icon;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String description;

    /** 课程类型状态 */
    @Excel(name = "课程类型状态")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(Integer code) 
    {
        this.code = code;
    }

    public Integer getCode() 
    {
        return code;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("status", getStatus())
            .toString();
    }
}
